package web.board.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import web.board.dao.BoardDao;
import web.board.service.BoardService;
import web.board.vo.RequestVo;

@Service
public class BoardServiceImpl implements BoardService {

	@Autowired
	BoardDao boardDao;
	
	@Override
	public List<RequestVo> listAll() throws Exception {
		return boardDao.listAll();
	}
	
	@Override
	public RequestVo selectBoardContent() throws Exception{
		return boardDao.selectBoardContent();
	}
	
}
